﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogRecord;
namespace ClassLibraryOverLog
{
    /// <summary>
    /// 全局LOG 所有工程模块均可调用
    /// </summary>
    public class ClassOverLogHelper
    {

        /// <summary>
        ///  日志记录 统一接口
        /// </summary>
        /// <param name="classify"></param>
        /// <param name="logstr"></param>
        public static void   TraceAndRecordLog(_LogStrClassify classify, string logstr)
        {
            Log.mInstance.WriteLog(classify, logstr);
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="classify"></param>
        /// <param name="logstr"></param>
        public static void TraceAndRecordLogCommon(string logstr)
        {
            Log.mInstance.WriteCommonLog(logstr);
        }
        public static void  ShowLogInForm()
        {
            Log.mInstance.JustLogShowInForm();
        }
    }
}
